$OpenBSD: patch-js_src_nanojit_Nativei386_cpp,v 1.1 2013/12/09 16:31:59 landry Exp $
--- js/src/nanojit/Nativei386.cpp.orig	Wed Jan  6 05:35:17 2010
+++ js/src/nanojit/Nativei386.cpp	Sun Jan 10 17:47:27 2010
@@ -46,6 +46,7 @@
 #endif
 
 #if defined AVMPLUS_UNIX || defined AVMPLUS_MAC
+#include <sys/types.h>
 #include <sys/mman.h>
 #include <errno.h>
 #include <stdlib.h>
